import Cookies from 'js-cookie'

//添加Cookies
export function setToken(val){
  Cookies.set('admintoken',val,{expires:7})
}

// 移除Cookies
export function removeToken(){
  Cookies.remove('admintoken')
}

//获取Cookies
export function getToken(){
  return Cookies.get('admintoken')
}
